   
#ifndef XMLCONFIG_H
#define XMLCONFIG_H

#include "TXMLEngine.h"
#include "TString.h"

using namespace std ;

class XMLConfig {
    private:
        TString m_filename  ;
        TString m_variation;
        vector<TString> m_currentfiles;
    public: 
        XMLConfig(){};
	void readFile(TString filename,TString name, TString variation,vector<TString> * the_files);
	void readNode(TXMLEngine* xml, XMLNodePointer_t node,TString name,TString variation);
	void readCollection(TXMLEngine* xml, XMLNodePointer_t node, TString name,TString variation) ;
	void readFiles(TXMLEngine* xml, XMLNodePointer_t node,TString directory);
};

#endif

